<?php
/** 
* @var XMLHelper $xml 
*/ 
echo($xml->serialize($message, array('format' => 'tags')));
?>